#ifndef __SPORTS_H__
#define __SPORTS_H__

#include "headfile.h"

#define PEEK_MIN_VALUE 20000

#define WAVW_NUM 4

typedef struct
{
    float calories;
    float distance;
    uint32_t stepCount;
} SportInfo_t;

typedef struct
{
    float height;
    float weight;
} PersonInfo_t;

SportInfo_t *GetInfo(void);
void WalkTask(void *pvPara);
void StepTask(void *pvPara);
SportInfo_t *CalculateStep(uint32_t *accValue);

#endif /* __SPORTS_H__ */
